<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="__PUBLIC__/Home/images/icon.ico" media="screen" /> 
<meta name="description" content="愈10万MBA/EMBA校友共同选择，36个区域社群，总有一个适合你^-^" />
<meta name="keywords" content="E-MBA云" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/style.css" media="all" />
<title><empty name="title">E-MBA云邀你进入社群时代<else />{$title}</empty></title>
<input type="hidden" id="title_name" value="<empty name='title'>E-MBA云邀你进入社群时代<else />{$title}</empty>">
<script type="text/javascript" src="__PUBLIC__/Home/js/jquery-1.7.2.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"> </script>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<!-- Mobile Devices Support @begin -->
<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">



<!-- ----------------------------------------分享脚本---------------------------------- -->
<script>

  wx.config({
      debug: false,
      appId: "{$AppID}", 
	  timestamp: '{$timestamp}', 
	  nonceStr: '{$nonceStr}', 
	  signature: '{$sha1}',
      jsApiList: [
        'checkJsApi',
        'onMenuShareTimeline',
        'onMenuShareAppMessage'
      ]
  });

wx.ready(function () {
  // 1 判断当前版本是否支持指定 JS 接口，支持批量判断
  document.querySelector('#checkJsApi').onclick = function () {
    wx.checkJsApi({
      jsApiList: [
        'getNetworkType',
        'previewImage'	 
      ],
      success: function (res) {
      }
    });
  };

  // 2. 分享接口
  // 2.1 监听“分享给朋友”，按钮点击、自定义分享内容及分享结果接口
  document.querySelector('#onMenuShareAppMessage').onclick = function () {
    wx.onMenuShareAppMessage({
      title: '{$share_data.title}',
      desc: '{$share_data.desc}',
      link: '{$share_data.link}',
      imgUrl: '{$share_data.img_url}',
      trigger: function (res) {

      },
      success: function (res) {

      },
      cancel: function (res) {

      },
      fail: function (res) {

      }
    });
    //alert('已注册获取“发送给朋友”状态事件');
  };

  // 2.2 监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
  document.querySelector('#onMenuShareTimeline').onclick = function () {
    wx.onMenuShareTimeline({
      title: '{$share_data.title}',
      link: '{$share_data.link}',
      imgUrl: '{$share_data.img_url}',
      trigger: function (res) {

      },
      success: function (res) {

      },
      cancel: function (res) {

      },
      fail: function (res) {

      }
    });

  };

  //无触发，默认分享内容
  var shareData = {
    title: '{$share_data.title}',
    desc: '{$share_data.desc}',
    link: '{$share_data.link}',
    imgUrl: '{$share_data.img_url}'
  };
  wx.onMenuShareAppMessage(shareData);
  wx.onMenuShareTimeline(shareData);
});

wx.error(function (res) {
});
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?10e7389d6371755bd968c2ae435f2076";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

<script> 
window.onload=function(){ 
setTimeout(function() { 
window.scrollTo(0, 1) 
}, 0); 
}; 
</script>